get

fun get(enabled: Boolean, focused: Boolean): Identifier

Retrieves the appropriate texture based on provided state

Return

Identifier from the texture set matching the current object state.

Author

fzzyhmstrs

Since

0.6.0

Parameters

enabled

The active state of the underlying object, such as ClickableWidget.active

focused

The highlighted state of the underlying object. This is usually a combination of "focused" in the Minecraft sense as well as hovered. ClickableWidget.isSelected checks for both, for example.